//
//  ViewController.m
//  fenzhi
//
//  Created by 魏堰青 on 2021/11/20.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UILabel *lable = [[UILabel alloc]initWithFrame:CGRectMake(100, 100, 100, 20)];
    lable.textColor = [UIColor blackColor];
    lable.text = @"我是100";
    [self.view addSubview:lable];
    // Do any additional setup after loading the view.
}
-(void)showlable200{
    UILabel *lable = [[UILabel alloc]initWithFrame:CGRectMake(100, 200, 100, 20)];
    lable.textColor = [UIColor blackColor];
    lable.text = @"我是200";
    [self.view addSubview:lable];
}
-(void)showlable300{
    UILabel *lable = [[UILabel alloc]initWithFrame:CGRectMake(100, 300, 100, 20)];
    lable.textColor = [UIColor blackColor];
    lable.text = @"我是300";
    [self.view addSubview:lable];
}
-(void)showlable400{
    UILabel *lable = [[UILabel alloc]initWithFrame:CGRectMake(100, 400, 100, 20)];
    lable.textColor = [UIColor blackColor];
    lable.text = @"我是400";
    [self.view addSubview:lable];
}
@end
